Crate rayon [−] [src]
Modules
collections |
This module contains the parallel iterator types for standard collections. You will rarely need to interact with it directly unless you have need to name one of the iterator types. |
iter |
The |
option |
This module contains the parallel iterator types for options
( |
prelude |
The rayon prelude imports the various |
range |
This module contains the parallel iterator types for ranges
( |
result |
This module contains the parallel iterator types for results
( |
slice |
This module contains the parallel iterator types for slices
( |
str |
This module contains extension methods for |
vec |
This module contains the parallel iterator types for vectors
( |
Structs
Configuration |
Contains the rayon thread pool configuration. |
Scope | |
ThreadPool |
Functions
current_num_threads |
Returns the number of threads in the current registry. If this code is executing within a Rayon thread-pool, then this will be the number of threads for the thread-pool of the current thread. Otherwise, it will be the number of threads for the global thread-pool. |
initialize |
Initializes the global thread pool. This initialization is
optional. If you do not call this function, the thread pool
will be automatically initialized with the default
configuration. In fact, calling |
join |
The |
scope |
Create a "fork-join" scope |
spawn |
Fires off a task into the Rayon threadpool in the "static" or
"global" scope. Just like a standard thread, this task is not
tied to the current stack frame, and hence it cannot hold any
references other than those with |
split |
The |